#include "qabstractpropertyeditor.h"

#include "../property/qabstractproperty.h"

#include <QHBoxLayout>

QAbstractPropertyEditor::QAbstractPropertyEditor(QAbstractProperty *property, QWidget *parent):
    QWidget(parent),
    m_property(property)
{
    connect(m_property,SIGNAL(refresh()),this,SLOT(property_value_changed()));
    QHBoxLayout *h=new QHBoxLayout;
    h->setMargin(0);
    h->setSpacing(0);

    setLayout(h);
}

QAbstractProperty* QAbstractPropertyEditor::get_property()
{
    return m_property;
}

void QAbstractPropertyEditor::property_value_changed()
{

}
